package cn.school.dao;

import cn.school.entity.Subject;

import java.util.List;

public interface SubjectMapper {
    public List<Subject> findALL();
    public int add(Subject s);
    public int modify(Subject s);
    //根据id查找单个subject信息
    public Subject get(long id);
    public int del(long id);

    public int findTotal();
}
